<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Greendizer_Collections_Buyers_MessageCollection</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name"><img src="../../media/images/Class_logo.png"
														alt=" Class"
														title=" Class"
														style="vertical-align: middle"> Greendizer_Collections_Buyers_MessageCollection</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-vars">Vars</a>
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
											<a href="#sec-consts">Constants</a>
						
			</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Represents a collection of buyer messages in Greendizer</p>
	<ul class="tags">
				<li><span class="field">copyright:</span> Copyright (c) 2009-2010, Greendizer S.A - All rights reserved.</li>
				<li><span class="field">license:</span> Greendizer/License.txt</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Collections---Buyers---MessageCollection.php.html">/Collections/Buyers/MessageCollection.php</a> (line <span class="field"><a href="../../__filesource/fsource_Greendizer_Collections_Greendizer_Collections_Buyers_CollectionsBuyersMessageCollection.php.html#a32">32</a></span>)
		</p>
		
				
		<pre><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html">Greendizer_DAL_Collection</a>
   |
   --<a href="../../Greendizer_Collections/Greendizer_Collections_MessageCollectionBase.html">Greendizer_Collections_MessageCollectionBase</a>
      |
      --Greendizer_Collections_Buyers_MessageCollection</pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-consts">Constants</a>
							
															<a href="#sec-vars">Vars</a>
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																								<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
										<a href="#getResourceById" title="details" class="method-name">getResourceById</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
										<a href="#getResourceByIndex" title="details" class="method-name">getResourceByIndex</a>
											(<span class="var-type">integer</span>&nbsp;<span class="var-name">$index</span>)
									</div>
																<div class="method-definition">
					<img src="../../media/images/Method.png" alt=" "/>
											<span class="method-result">void</span>
										<a href="#handleOkOrPartialResponse" title="details" class="method-name">handleOkOrPartialResponse</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$method</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$response</span>)
									</div>
											</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-consts">Constants</a>
							
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html">Greendizer_DAL_Collection</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#var$container">Greendizer_DAL_Collection::$container</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#var$count">Greendizer_DAL_Collection::$count</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#var$etag">Greendizer_DAL_Collection::$etag</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#var$resourceAsArray">Greendizer_DAL_Collection::$resourceAsArray</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#var$resources">Greendizer_DAL_Collection::$resources</a></span><br>
							</span>
													<img src="../../media/images/Variable.png" />
							<span class="var-title">
								<span class="var-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#var$uri">Greendizer_DAL_Collection::$uri</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-vars">Vars</a>
														<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>
<a name="methodgetResourceById" id="getResourceById"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getResourceById</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Collections_Greendizer_Collections_Buyers_CollectionsBuyersMessageCollection.php.html#a41">41</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a message in the collection given its ID</p>
	<ul class="tags">
				<li><span class="field">throws:</span> Greendizer_Collections_CollectionException</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
		<span class="method-name">
			getResourceById
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: Resource ID</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodgetResourceById">Greendizer_DAL_Collection::getResourceById()</a></dt>
						<dd>Returns a resource in the collection given its ID</dd>
					</dl>
			
	</div>
<a name="methodgetResourceByIndex" id="getResourceByIndex"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">getResourceByIndex</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Collections_Greendizer_Collections_Buyers_CollectionsBuyersMessageCollection.php.html#a51">51</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns a message in the collection give its index in the collection</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result"><a href="../../Greendizer_Resources/Greendizer_Resources_Buyers/Greendizer_Resources_Buyers_Message.html">Greendizer_Resources_Buyers_Message</a></span>
		<span class="method-name">
			getResourceByIndex
		</span>
					(<span class="var-type">integer</span>&nbsp;<span class="var-name">$index</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">integer</span>
				<span class="var-name">$index</span><span class="var-description">: Index of the resource in the collection</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodgetResourceByIndex">Greendizer_DAL_Collection::getResourceByIndex()</a></dt>
						<dd>Returns a resource in the collection give its index in the collection</dd>
					</dl>
			
	</div>
<a name="methodhandleOkOrPartialResponse" id="handleOkOrPartialResponse"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<img src="../../media/images/Method.png" />
		<span class="method-title">handleOkOrPartialResponse</span> (line <span class="line-number"><a href="../../__filesource/fsource_Greendizer_Collections_Greendizer_Collections_Buyers_CollectionsBuyersMessageCollection.php.html#a61">61</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Handles responses with code 200 Ok or code 206 Partial Response</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			handleOkOrPartialResponse
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$method</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$response</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$method</span>			</li>
					<li>
				<span class="var-type"><a href="../../Greendizer_Net/Greendizer_Net_Response.html">Greendizer_Net_Response</a></span>
				<span class="var-name">$response</span>			</li>
				</ul>
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodhandleOkOrPartialResponse">Greendizer_DAL_Collection::handleOkOrPartialResponse()</a></dt>
						<dd>Handles responses with code 200 Ok or code 206 Partial Response</dd>
					</dl>
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html">Greendizer_DAL_Collection</a></span></p>
					<blockquote>
													<img src="../../media/images/Constructor.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#method__construct">Greendizer_DAL_Collection::__construct()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodgetCount">Greendizer_DAL_Collection::getCount()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodgetResourceById">Greendizer_DAL_Collection::getResourceById()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodgetResourceByIndex">Greendizer_DAL_Collection::getResourceByIndex()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodgetResources">Greendizer_DAL_Collection::getResources()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodhandleNoContentResponse">Greendizer_DAL_Collection::handleNoContentResponse()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodhandleNotModifiedResponse">Greendizer_DAL_Collection::handleNotModifiedResponse()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodhandleOkOrPartialResponse">Greendizer_DAL_Collection::handleOkOrPartialResponse()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodhandleRequest">Greendizer_DAL_Collection::handleRequest()</a></span><br>
													<img src="../../media/images/Method.png" alt=" "/>
							<span class="method-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#methodpopulate">Greendizer_DAL_Collection::populate()</a></span><br>
											</blockquote>
										
		</div>
	</div>

	<a name="sec-consts"></a>
	<div class="info-box">
		<div class="info-box-title">Class Constants</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Constants</a> (<span class="disabled">details</span>)
						
			
												<a href="#sec-vars">Vars</a>
														| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
										<h4>Inherited Constants</h4>
				<A NAME='inherited_consts'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html">Greendizer_DAL_Collection</a></span></p>
					<blockquote>
													<img src="../../media/images/Variable.png" />
							<span class="const-title">
								<span class="const-name"><a href="../../Greendizer_DAL/Greendizer_DAL_Collection.html#constMAX_LENGTH">Greendizer_DAL_Collection::MAX_LENGTH</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Tue, 07 Feb 2012 12:10:25 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>